{template 'public/header'}
{template 'public/comhead'}
<link rel="stylesheet" type="text/css" href="../addons/zh_gjw/template/public/ygcss.css">
<style type="text/css">
    .storeset{border-bottom: 1px solid #eee;padding-bottom: 10px;}
    .storesetfont{font-size: 14px;font-weight: bold;}
    .ygstoreimg>.input-group:nth-child(1){float: left;width: 50%;margin-right: 30px;}
    .ygstoreimg>.input-group:nth-child(2){float: left;width: 50px;}
    .btn{padding: 7px 12px;}
    .ygstoreimg>.input-group:nth-child(2)>img{width: 45px;height: 35px;margin-top: -7px;}
    .wyheader{height: 40px;}
</style>
<style type="text/css">
    .ygmargin{margin-top: 10px;color: #999;}
    input[type="radio"] + label::before {
        content: "\a0"; /*不换行空格*/
        display: inline-block;
        vertical-align: middle;
        font-size: 16px;
        width: 1em;
        height: 1em;
        margin-right: .4em;
        border-radius: 50%;
        border: 2px solid #ddd;
        text-indent: .15em;
        line-height: 1; 
    }
    input[type="radio"]:checked + label::before {
        background-color: #44ABF7;
        background-clip: content-box;
        padding: .1em;
        border: 2px solid #44ABF7;
    }
    input[type="radio"] {
        position: absolute;
        clip: rect(0, 0, 0, 0);
    }
</style>
<ul class="nav nav-tabs">    
    <span class="ygxian"></span>
    <div class="ygdangq">当前位置:</div> 
    <li><a href="{php echo $this->createWebUrl('reputation')}">商家信用保证金管理</a></li>
    <li class="active"><a href="{php echo $this->createWebUrl('addreputation')}">添加/编辑商家信用保证金</a></li>
</ul>
<div class="main">
    <form action="" method="post" class="form-horizontal form" enctype="multipart/form-data">
        <div class="panel panel-default ygdefault">
            <div class="panel-heading wyheader">
                添加/编辑商家评级
            </div>
            <div class="panel-body">

              <div class="form-group">
                  <label class="col-xs-12 col-sm-3 col-md-2 control-label">排序</label>
                  <div class="col-sm-4">
                      <input type="number"  name="sort" value="{$list['sort']}" class="form-control" placeholder="请填写排序序号">
                      <div class="addcolor">数值越大越靠前</div>
                  </div>
              </div>
              <div class="form-group">
                  <label class="col-xs-12 col-sm-3 col-md-2 control-label">信用等级名称</label>
                  <div class="col-sm-4">
                      <input type="text"  name="grade" value="{$list['grade']}" class="form-control" placeholder="请填写信用等级名称">
                  </div>
              </div>
              <div class="form-group">
                  <label class="col-xs-12 col-sm-3 col-md-2 control-label">信用保证金</label>
                  <div class="col-sm-4">
                    <div class="input-group">
                        <input type="text"  name="money" value="{$list['money']}" class="form-control" placeholder="请填写等级金额">
                      	
                        <span class="input-group-addon">元</span>
                    </div>
                    <div class="addcolor">缴纳相应金额后才能成为对应的等级</div>
                  </div>
              </div>
              <div class="form-group">
                  <label class="col-xs-12 col-sm-3 col-md-2 control-label">每天抖宝发布数</label>
                  <div class="col-sm-4">
                     <input type="number" name="pubdbnum" class="form-control" value="{$list['pubdbnum']}" />
                  </div>
              </div>  
              <div class="form-group">
                  <label class="col-xs-12 col-sm-3 col-md-2 control-label">每天微拍发布数</label>
                  <div class="col-sm-4">
                     <input type="number" name="pubwpnum" class="form-control" value="{$list['pubwpnum']}" />
                  </div>
              </div>
              <div class="form-group">
                  <label class="col-xs-12 col-sm-3 col-md-2 control-label">每天地摊商品发布数</label>
                  <div class="col-sm-4">
                     <input type="number" name="pubjsnum" class="form-control" value="{$list['pubjsnum']}" />
                  </div>
              </div>
              <div class="form-group">
                  <label class="col-xs-12 col-sm-3 col-md-2 control-label">每天商城商品发布数</label>
                  <div class="col-sm-4">
                     <input type="number" name="pubscnum" class="form-control" value="{$list['pubscnum']}" />
                  </div>
              </div>
              <div class="form-group">
                  <label class="col-xs-12 col-sm-3 col-md-2 control-label">每天为您定制帖子发布数</label>
                  <div class="col-sm-4">
                     <input type="number" name="pubcunum" class="form-control" value="{$list['pubcunum']}" />
                  </div>
              </div>
              <div class="form-group">
                  <label class="col-xs-12 col-sm-3 col-md-2 control-label">每天我要定制帖子发布数</label>
                  <div class="col-sm-4">
                     <input type="number" name="pubusnum" class="form-control" value="{$list['pubusnum']}" />
                  </div>
              </div>
              <div class="form-group">
                  <label class="col-xs-12 col-sm-3 col-md-2 control-label">每天免费推荐次数</label>
                  <div class="col-sm-4">
                     <input type="number" name="upnum" class="form-control" value="{$list['upnum']}" />
                  </div>
              </div>  
              <div class="form-group">
                  <label class="col-xs-12 col-sm-3 col-md-2 control-label">每天免费置顶次数</label>
                  <div class="col-sm-4">
                     <input type="number" name="topnum" class="form-control" value="{$list['topnum']}" />
                  </div>
              </div>  

            </div>
        </div>

        <div class="form-group">
                <input type="submit" name="submit" value="提交" class="btn col-lg-3" style="color: white;background-color: #44ABF7;"/>
        		<input type="hidden" name="id" value="{$list['id']}"/>

        		<input type="hidden" name="token" value="{$_W['token']}"/>
       
        </div>

    </form>
</div>
<script type="text/javascript">
    $(function(){
        $("#frame-14").show();
        $("#yframe-14").addClass("wyactive");
    })
</script>